package com.cavy.platform.server.dto;

import com.cavy.platform.server.validator.ImageNotNull;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

@Data
public class PluginLogoUploadDto {
    @NotNull(message = "插件名称不能为空")
    private String name;
    @NotNull(message = "插件版本不能为空")
    private String version;
    @ImageNotNull(message = "图片不能为空")
    private MultipartFile file;


}
